<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js编程练习</title>
</head>

<body>
    <!-- <script src="./js/reduce.js"></script> -->
    <script>
        // alert(GetBytes("你好,as"));
        // console.log(gcd(48,57)); 
        // console.log(lcm(48,57));
        /* 
          编一程序实现以下功能：将一个整数首尾倒置，若程序输入12345，则输出54321；
          若程序输入-34567，则输出-76543，做成一个函数传参数！
        */

        var arr = [1]
        console.log(console.log);
        // arr.forEach(item=>console.log(item))
        arr.forEach(console.log)
    </script>
</body>

</html>